#main {
  padding: 10px 0;
}
#main .g_details {
  overflow: hidden;
}
#main .d_lt {
  width: 540px;
  height: 624px;
  float: left;
}
#main .d_lt .d_lt_top {
  position: relative;
  width: 540px;
  height: 512px;
  box-sizing: border-box;
  border: 1px solid #eee;
  padding: 5px;
}
#main .d_lt .d_lt_top img {
  position: absolute;
  margin: auto;
  left: 0;
  right: 0;
  top: 0px;
  bottom: 0;
}
#main .d_lt .d_lt_top a {
  background-color: rgba(255, 255, 255, 0.7);
  color: #333;
  position: absolute;
  right: 4px;
  bottom: 4px;
  padding: 6px 12px;
}
#main .d_lt .d_lt_bt {
  margin-top: 30px;
  text-align: center;
}
#main .d_lt .d_lt_bt div {
  display: inline-block;
  padding: 5px;
  margin-left: 5px;
  box-sizing: border-box;
  border: 1px solid #eee;
}
#main .d_lt .d_lt_bt div img {
  width: 65px;
  height: 65px;
}
#main .d_rt {
  float: left;
  width: 574px;
  height: 404px;
  margin: 0 20px;
  /*分类*/
}
#main .d_rt h1 {
  font-size: 20px;
  color: #333333;
}
#main .d_rt > p {
  font-size: small;
  color: #888888;
  margin: 20px 0;
}
#main .d_rt .goods_price {
  background: #ededed;
  margin: 15px 0 0;
  padding: 10px;
  border-color: #f5f5f5;
  color: #aaa;
  font-size: 14px;
}
#main .d_rt .goods_price .oldPrice {
  text-decoration: line-through;
  font-size: 16px;
  position: relative;
  left: 40px;
}
#main .d_rt .goods_price .price {
  font-size: 1.6666em;
  position: relative;
  left: 26px;
  top: -2px;
  color: #ff5073;
  vertical-align: middle;
}
#main .d_rt .goods_price .super_special {
  position: relative;
  margin-left: 30px;
  padding: 0px;
  background-color: #fc7f97;
  color: #ffffff;
  font-size: 14px;
  left: 10px;
  padding: 4px;
}
#main .d_rt .goods_price .sale {
  padding-right: 5px;
  padding-left: 5px;
  border-radius: 5px;
  line-height: 20px;
  display: inline-block;
  margin-left: 20px;
  color: #ff5073;
  background-color: #f5f5f5;
  font-size: 12px;
  border: 1px solid #ff5073;
}
#main .d_rt .fan {
  height: 45px;
  background-color: #f7f7f7;
  position: relative;
}
#main .d_rt .fan i {
  margin: 12px 22px 0 13px;
  font-size: 22px;
  color: #ff5073;
  line-height: 45px;
  text-align: center;
}
#main .d_rt .fan span {
  position: relative;
  left: 10px;
  font-size: 14px;
  color: #666666;
}
#main .d_rt .fan span b {
  color: #ff5073;
  padding: 0 3px;
  font-weight: normal;
}
#main .d_rt .postage span:nth-of-type(1) {
  display: inline-block;
  margin: 6px 24px 10px 10px;
  color: #aaa;
  font-size: 14px;
}
#main .d_rt .postage span:nth-of-type(2) {
  margin-left: 5px;
  color: #666;
  font-size: 13px;
}
#main .d_rt .options {
  width: 400px;
}
#main .d_rt .options dl {
  margin-top: 0;
  margin-bottom: 20px;
}
#main .d_rt .options dl select {
  height: 36px;
  padding: 8px;
  width: 382px;
  text-overflow: ellipsis;
}
#main .d_rt .options label {
  margin-left: 10px;
  display: inline-block;
  color: #aaa;
}
#main .d_rt .add_to_cart label {
  display: inline-block;
  margin: 6px 24px 0 10px;
  color: #aaa;
  font-size: 14px;
}
#main .d_rt .add_to_cart .goods_num {
  display: inline-block;
  overflow: hidden;
  position: relative;
  top: 5px;
}
#main .d_rt .add_to_cart .goods_num a {
  float: left;
  display: inline-block;
  border: 1px solid #dddddd;
  background: #f2f2f2;
  width: 24px;
  height: 26px;
  text-align: center;
  color: #333;
  vertical-align: middle;
  font-size: 12px;
  line-height: 26px;
}
#main .d_rt .add_to_cart .goods_num a:nth-of-type(1) {
  border-right: none;
  float: left;
}
#main .d_rt .add_to_cart .goods_num input {
  text-align: center;
  float: left;
  height: 26px;
  width: 48px;
  padding: 8px;
  border-right: none;
  border: 1px solid #dddddd;
  color: #aaa;
}
#main .d_rt .add_to_cart p {
  display: inline-block;
  color: #aaa;
  font-size: 14px;
  margin: 6px 0 0 20px;
}
#main .d_rt .add_to_cart p span {
  color: #ff5073;
}
#main .d_rt .add_to_cart > div:nth-of-type(1) {
  margin-bottom: 35px;
}
#main .d_rt .add_to_cart > div:nth-of-type(2) button {
  color: #ff5073;
  border-radius: 4px;
  line-height: 40px;
  height: 42px;
  background: white;
  font-size: 14px;
  border: 1px solid #ff5073;
  border-radius: 5px;
  margin-left: 10px;
  padding: 0 25px;
}
#main .promise {
  margin: 40px 0;
}
#main .promise span {
  font-size: 20px;
  color: #f58337;
  margin-left: 30px;
}
#main .details .d_img,
#main .details .d_goods_info,
#main .details .d_distribution,
#main .details .d_comment {
  border: 1px solid #e5e5e5;
  padding: 20px;
}
#main .details .d_title ul {
  overflow: hidden;
}
#main .details .d_title ul li {
  float: left;
  width: 126px;
  height: 50px;
  background-color: #eeeeee;
  color: #333333;
  font-size: 17px;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
}
#main .details .d_title ul li.active {
  border: 1px solid #eeeeee;
  background: white;
  margin-bottom: -1px;
  border-bottom: 2px solid #ff5073;
  color: #ff5073;
}
#main .details .d_img img {
  width: 1130px;
}
#main .details .d_goods_info table th {
  padding: 10px;
  height: 20px;
  width: 269px;
  font-weight: bold;
}
#main .details .d_goods_info table td {
  padding: 10px;
  height: 20px;
}
#main .details .d_distribution {
  color: #333333;
  font-size: 13px;
}
#main .details .d_comment .comment-list {
  overflow: hidden;
  border-bottom: 1px solid #999;
  padding-bottom: 30px;
  margin-bottom: 30px;
}
#main .details .d_comment .comment-list .avatar {
  float: left;
  margin-right: 30px;
}
#main .details .d_comment .comment-list .avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
}
#main .details .d_comment .comment-list .comments {
  margin-left: 90px;
  width: 1040px;
}
#main .details .d_comment .comment-list .comments .userinfo {
  overflow: hidden;
}
#main .details .d_comment .comment-list .comments .userinfo .username {
  font-size: 14px;
  color: #666;
  float: left;
}
#main .details .d_comment .comment-list .comments .userinfo .commentdate {
  font-size: 14px;
  color: #999;
  float: right;
}
#main .details .d_comment .comment-list .comments .star {
  color: #F18200;
  margin: 5px 20px 10px 0;
}
#main .details .d_comment .comment-list .comments .star i {
  margin: 3px;
}
#main .details .d_comment .comment-list .comments .commentdetail {
  font-size: 16px;
  margin-top: 0;
  line-height: 25px;
  margin-bottom: 15px;
  word-wrap: break-word;
  overflow: hidden;
}
#main .details .d_comment .comment-list .comments .commentpic img {
  width: 60px;
  height: 60px;
}
#main .details .d_comment .comment-list .comments .bigpic div {
  position: relative;
  display: inline-block;
}
#main .details .d_comment .comment-list .comments .bigpic div i {
  display: inline-block;
  width: 20px;
  text-align: center;
  line-height: 20px;
  height: 20px;
  border-radius: 50%;
  background: red;
  position: absolute;
  right: -10px;
  top: -10px;
  color: white;
  font-size: 20px;
}
#main .details .d_comment .comment-list .comments .bigpic div img {
  width: 400px;
  height: 400px;
}
